const req = require.context('@/api/modules',false, /\.ts$/)
const requireAll = (requireContext:any) => {
    return requireContext.keys().map(requireContext);
}
var arr = {}
requireAll(req).forEach((item:any) => {
    arr = Object.assign(arr, item.default)
})
export default { 
    ...arr
}